
package com.insigma.business.qrcode.soldier.dao;





import com.insigma.business.qrcode.job.dto.search.JobFairParticipateBSearcher;
import com.insigma.business.qrcode.soldier.entity.JobFairParticipateDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface JobFairParticipateDao {

    
    List<JobFairParticipateDO> search(final JobFairParticipateBSearcher innerSearcher);

    
    JobFairParticipateDO get(final String id);

    
    Integer insert(final JobFairParticipateDO jobFairParticipateDO);

    
    Integer update(final JobFairParticipateDO jobFairParticipateDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    
    JobFairParticipateDO getParticipateByFairIdAndOrgId(@Param("fairId")String fairId, @Param("companyId")String companyId, @Param("orgType")String orgType);

    int countByFairAndStatus(@Param("fairId") String fairId, @Param("status") String status);

    JobFairParticipateDO getByOrgId(@Param("orgId") String orgId);
}
